package com.youlai.boot.modules.game.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 游戏查询参数
 *
 * @author 有来技术团队
 */
@Schema(description = "游戏查询参数")
@Data
public class GameInfoQuery {

    @Schema(description = "关键词(游戏名称)")
    private String keywords;

    @Schema(description = "游戏分类ID")
    private Long categoryId;
    
    @Schema(description = "游戏标签ID")
    private Long tagId;

    @Schema(description = "是否推荐")
    private Integer featured;

    @Schema(description = "是否热门")
    private Integer hot;

    @Schema(description = "是否新品")
    private Integer newGame;
    
    @Schema(description = "排序字段(price:价格, rating:评分, releaseDate:发布日期)")
    private String sortField;

    @Schema(description = "排序方式(asc:升序, desc:降序)")
    private String sortOrder;
    
    @Schema(description = "页码", defaultValue = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页记录数", defaultValue = "10")
    private Integer pageSize = 10;
} 